-
Home
-
Servebolt Optimizer
-
3.5.53
-
Code
-
Classes
- FullPageCacheHeaders
| Total Complexity |
119 |
| Dependencies |
5 |
| Dependents |
3 |
| Total lines |
676 |
| Lines of code |
335 |
| Logical lines of code |
213 |
| Comment lines |
238 |
| Methods |
29 |
| Properties |
8 |
Methods 29
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| setHeaders() |
D |
33 |
39 |
90 |
| isAuthenticatedUser() |
A |
52 |
9 |
25 |
| getPostTypesToCache() |
S |
61 |
6 |
11 |
| header() |
S |
56 |
5 |
19 |
| kill_cache_404() |
S |
56 |
5 |
17 |
| maybeFixPostTypeArrayStructure() |
S |
57 |
5 |
17 |
| shouldSetCacheHeaders() |
S |
70 |
5 |
6 |
| getQueriedObject() |
S |
59 |
4 |
14 |
| shouldCacheArchive() |
S |
62 |
4 |
11 |
| cacheHeaders() |
S |
56 |
3 |
17 |
| getDefaultPostTypesToCache() |
S |
62 |
3 |
12 |
| getAvailablePostTypesToCache() |
S |
62 |
3 |
11 |
| isPasswordProtected() |
S |
71 |
3 |
5 |
| cacheActiveForPostType() |
S |
66 |
3 |
9 |
| getTtl() |
S |
70 |
3 |
6 |
| __construct() |
S |
66 |
2 |
8 |
| mock() |
S |
66 |
2 |
9 |
| printHeader() |
S |
69 |
2 |
7 |
| lastCall() |
S |
71 |
2 |
6 |
| noCacheHeaders() |
S |
67 |
2 |
8 |
| init() |
S |
80 |
1 |
3 |
| setHeaderAlreadySetState() |
S |
81 |
1 |
3 |
| isEcommerceNoCachePage() |
S |
79 |
1 |
3 |
| isEcommerceCachePage() |
S |
79 |
1 |
3 |
| shouldDebug() |
S |
79 |
1 |
3 |
| getMockHeaders() |
S |
80 |
1 |
3 |
| cacheAllPostTypes() |
S |
80 |
1 |
3 |
| htmlCacheCacheablePostTypesOptionKey() |
S |
81 |
1 |
3 |
| setCacheablePostTypes() |
S |
78 |
1 |
3 |